import 'package:flutter/cupertino.dart';

// 通过一个模型的技巧来是刷新背景图片修改
class BgModel with ChangeNotifier{
  ImageProvider _firstBgImage;

  ImageProvider get firstBgImage => this._firstBgImage;
  set firstBgImage(ImageProvider firstBgImage){
    this._firstBgImage = firstBgImage;
  }

  void update(){
    notifyListeners();
  }
}